//======================================================================================
//  Apache License, Version 2.0
//  Notes:Use this command to anonymously check out the latest project source code:
//  Non-members may check out a read-only working copy anonymously over HTTP.
//  SVN checkout http://YHHLineCommandWsp.googlecode.com/svn/trunk/ 
//
//  Author:		Kevin Yang
//  Email:		Bigearrabbit@qq.com
//
//  DATE:		2013-4-6
//
//  File Name:	
//
//  Notes:
//
//======================================================================================
#ifndef YHHELineCommandFatherEdit_H
#define YHHELineCommandFatherEdit_H


// System Framework
#include "CATExtIEdit.h"  // To derive from 

/**
* Class extending the object "YHHLineCommandChild".
* It implements the interfaces :
*      ApplicationFrame.CATIEdit
*         This interface is called when editing a Line Command.
*         It associates a dialog panel and fill in the contextual menu of the Line Command.
*/

class YHHELineCommandFatherEdit: public CATExtIEdit
{
    CATDeclareClass;
    
public:
    
    // Standard constructors and destructors for an implementation class
    // -----------------------------------------------------------------
    YHHELineCommandFatherEdit ();
    virtual ~YHHELineCommandFatherEdit ();
    
    /**
    * Implements the method Activate of the interface CATIEdit
    * see ApplicationFrame.CATIEdit.Activate
    */
    CATCommand* Activate (CATPathElement *ipPath) ;
    
private:
    // The copy constructor and the equal operator must not be implemented
    // -------------------------------------------------------------------
    YHHELineCommandFatherEdit (YHHELineCommandFatherEdit & iObjectToCopy);
    YHHELineCommandFatherEdit& operator=(YHHELineCommandFatherEdit & iObjectToCopy);
    
};


#endif
